(compilation-warning-face, compilation-info-face): Use min-colors.
authorEli Zaretskii <eliz@gnu.org>
Sat, 15 May 2004 12:16:13 +0000 (12:16 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 May 2004 12:16:13 +0000 (12:16 +0000)
lisp/progmodes/compile.el

index b22639f03509fdecc170b70b1d32ce66c8ba6f68..da43b7b70980ccd69cbb612f886022ebb05e8581 100644 (file)
@@ -448,17 +448,19 @@ starting the compilation process.")
 (defvar compile-history nil)
 
 (defface compilation-warning-face
-  '((((type tty) (class color)) (:foreground "cyan" :weight bold))
-    (((class color)) (:foreground "Orange" :weight bold))
+  '((((class color) (min-colors 16)) (:foreground "Orange" :weight bold))
+    (((class color)) (:foreground "cyan" :weight bold))
     (t (:weight bold)))
   "Face used to highlight compiler warnings."
   :group 'font-lock-highlighting-faces
   :version "21.4")
 
 (defface compilation-info-face
-  '((((type tty) (class color)) (:foreground "green" :weight bold))
-    (((class color) (background light)) (:foreground "Green3" :weight bold))
-    (((class color) (background dark)) (:foreground "Green" :weight bold))
+  '((((class color) (min-colors 16) (background light)) 
+     (:foreground "Green3" :weight bold))
+    (((class color) (min-colors 16) (background dark)) 
+     (:foreground "Green" :weight bold))
+    (((class color)) (:foreground "green" :weight bold))
     (t (:weight bold)))
   "Face used to highlight compiler warnings."
   :group 'font-lock-highlighting-faces